class server{
    //初始化对象
    constructor(){
        
    };

    commonAjax(){
        return new Promise((resolve,reject)=>{
            util.ajax({
                url:config.baseApi + '',
                success:(data=>{
                    resolve(data);
                })
            })
        })
    }
}
window.server = new server();